


import java.awt.geom.Point2D;
import java.util.Vector;


public class Emplacement implements Comparable<Emplacement> {

    public Emplacement(String nom, double x, double y){
        this.nom = nom;
        this.positionGeographique = new Point2D.Double(x, y);
    }

    public  Point2D        positionGeographique;
    public  String         nom;
    public  Vector<Route>  routes = new Vector<Route>();
    private int            id = nextId++;

    private static int     nextId = 1;

    
    public int compareTo(Emplacement o) {
        return id - o.id;
    }


}
